﻿@{ string style = @" style=background-color:Silver;color:Black";
   string status = Request["status"];
}
<div id="menu_main">
    <div class="menu_main_section first">
        <h4 class="menu_main_h"@(ViewBag.Menu == 0 ? style : "")>
            <a href="/doc/editcommon?docid=@ViewBag.DocID&status=@status">一般信息</a>@Html.Raw(@Web.Controllers.Common.GetStatusString((int)ViewBag.DocID, 0))</h4>
        <ul>
            <li><a href="javascript:;">&nbsp;</a></li>
        </ul>
    </div>
    <!--/end #menu_main_section-->
    <div class="menu_main_section">
        <h4 class="menu_main_h"@(ViewBag.Menu == 1 ? style : "")>
            <a href="/doc/edit1?docid=@ViewBag.DocID&status=@status">第一部分:一般情况</a>@Html.Raw(Web.Controllers.Common.GetStatusString((int)ViewBag.DocID, 1))</h4>
        <ul>
            <li><a href="javascript:;">&nbsp;</a></li>
        </ul>
    </div>
    <!--/end #menu_main_section-->
    <div class="menu_main_section">
        <h4 class="menu_main_h"@(ViewBag.Menu == 2 ? style : "")>
            <a href="/doc/edit2?docid=@ViewBag.DocID&status=@status">第二部分:既往治疗</a>@Html.Raw(@Web.Controllers.Common.GetStatusString((int)ViewBag.DocID, 2))</h4>
        <ul>
            <li><a href="javascript:;">&nbsp;</a></li>
        </ul>
    </div>
    <!--/end #menu_main_section-->
    <div class="menu_main_section">
        <h4 class="menu_main_h"@(ViewBag.Menu == 3 ? style : "")>
            <a href="/doc/edit3?docid=@ViewBag.DocID&status=@status">第三部分:治疗情况</a>@Html.Raw(@Web.Controllers.Common.GetStatusString((int)ViewBag.DocID, 3))</h4>
        <ul>
            <li><a href="javascript:;">&nbsp;</a></li>
        </ul>
    </div>
    <!--/end #menu_main_section-->
    @if (ViewBag.DocType == 2)
    {
        <div class="menu_main_section">
            <h4 class="menu_main_h"@(ViewBag.Menu == 4 ? style : "")>
                <a href="/doc/edit4?docid=@ViewBag.DocID&status=@status">第四部分:治疗体会</a>@Html.Raw(@Web.Controllers.Common.GetStatusString((int)ViewBag.DocID, 4))</h4>
            <ul>
            </ul>
        </div>
    }
</div>
